Fix cases where a registry is not updated
authorAlex Crichton <alex@alexcrichton.com>
Fri, 19 Dec 2014 21:43:21 +0000 (13:43 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 19 Dec 2014 21:43:21 +0000 (13:43 -0800)
commit240ed1a3e505c32d6ac7bddea9a386c730e8f218
tree72e82b8952fff626a858388662aac6ca55d135da
parente38447c874027d1d62c5035b3601cd5f4044e8c6
Fix cases where a registry is not updated

If a registry already knew about a package, but didn't know about newly
published version of a package, then the registry would occasionally not be
updated when it otherwise needed to be.
src/cargo/sources/registry.rs
tests/test_cargo_registry.rs